package com.cake.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.cake.dao.XxMenuMapper;
import com.cake.entity.XxMenu;
import com.cake.service.base.BaseService;
import com.cake.service.inter.IXxMenuService;

/**
 * 菜单业务层
 * @author Administrator
 *
 */
@Service
@Transactional
public class XxMenuServiceImpl extends BaseService<XxMenu> implements IXxMenuService{

	@	Autowired
	private XxMenuMapper xxMenuMapper;
	
	@Override
	public List<XxMenu> selectFirstGradeMenus() {
		return xxMenuMapper.selectFirstGradeMenus();
	}
	
}
